package com.M.lock;

/**
 * @author kanlei
 * @email freefree.me@qq.com
 * @since 2021/9/3
 */
public interface Lock {
    /**
     * acquire lock
     */
    void lock() throws Exception;

    /**
     * release lock
     */
    void unlock();
}
